<%@ page import="com.boxing.service.BookService" %><%--
  Created by IntelliJ IDEA.
  User: CYXY
  Date: 2024/3/27
  Time: 8:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script>
    </script>
</head>
<body>

<%!
    int i = 10;
    BookService bookService = new BookService();
%>
<div><%=i%></div>
<div>本机ip地址<%=request.getLocalAddr()%></div>
<div><%=application.getServletContextName()%></div>
<div><%=bookService.searchBooks(request)%></div>

<% for (int j = 0; j < 10; j++) { %>
<div>展示的次数<%=j%></div>
<% }%>
</body>
</html>
